package io.github.cocoa.module.socket.mq.message.sample;

import io.github.cocoa.framework.common.core.KeyValue;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 示例消息
 *
 * @author James
 */
@Data
public class SampleInfoMessage {

    /**
     * 示例编号
     */
    @NotNull(message = "示例编号不能为空")
    private Long logId;

    /**
     * 示例模板参数
     */
    private List<KeyValue<String, Object>> templateParams;

}
